import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import '../src/assets/style/reset.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import store from './store/index'

import VMdEditor from '@kangc/v-md-editor';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';

import VMdPreview from '@kangc/v-md-editor/lib/preview';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
import hljs from 'highlight.js';

VMdEditor.use(githubTheme, {
    Hljs: hljs,
});

VMdPreview.use(vuepressTheme);

createApp(App).use(router).use(store).use(VMdPreview).use(ElementPlus).mount('#app')
